<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }


        html,
        body {
            height: 100%;
        }

        body {
            background: url(./01-《vivo》进度条/images/vivo-banner-z3ys-bg.jpg) no-repeat;
            background-size: cover;
        }

        ul {
            position: absolute;
            left: 50%;
            bottom: 43px;

            /* background-color: red; */
            transform: translate(-50%, 0);
        }

        li {
            position: relative;
            float: left;
            width: 40px;
            height: 15px;
            margin: 0 7px;
            list-style: none;
            cursor: pointer;
        }

        li div {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: rgba(196, 196, 196, .6);
            transform-origin: bottom;
            transition: all .5s;
        }

        li div::after {
            display: block;
            width: 0;
            height: 100%;
            background-color: #666666;
            content: '';
        }

        li:hover div {
            transform: scaleY(2.5);
        }

        li:hover div::after {
            animation: move 4s linear forwards;
        }

        @keyframes move {
            0% {
                width: 0;
            }

            /* 30% {
                width: 70%;
            } */

            50% {
                width: 80%;
            }

            70% {
                width: 90%;
            }

            100% {
                width: 100%;
            }
        }
    </style>
</head>

<body>
    <ul>
        <li>
            <div></div>
        </li>
        <li>
            <div></div>
        </li>
    </ul>
</body>

</html>